import Vue from 'vue'
import App from '@/App.vue'
import iView from 'iview';
import 'iview/dist/styles/iview.css';

import Router from 'vue-router'


import axios from 'axios'
import VueAxios from 'vue-axios'

Vue.use(VueAxios, axios)

import {routes} from '@/router/index'
Vue.use(Router)

const router= new Router({
  routes: routes,
  mode:'hash'
})

Vue.use(iView);
new Vue({
  el: '#app',
  router,
  render: h => h(App)
})
